<?php
/**
 * Home_Blinking
 * 
 * @author norchin
 * @version 
 */
require_once 'Zend/Db/Table/Abstract.php';
class Home_Blinking extends Zend_Db_Table_Abstract
{
    /**
     * The default table name 
     */
	
   	protected $_name = 'home_';
    protected $_id;
    protected $_userid;
    protected $_longitude;
    protected $_latitude;
    protected $_routeid;
    protected $_type;
    protected $_createtime;
    protected $_comment;
    
	public function __set($name, $value);
    public function __get($name);
    
	public function setId($id);
    public function getId();
    
    public function setUserid($usrid);
    public function getUserid();
    
    public function setLongitude($lngt);
    public function getLongitude();
    
    public function setLatitude($lat);
    public function getLatitude();
    
    public function setRouteid($routeid);
    public function getRouteid();
    
    public function setType($type);
    public function getType();
    
    public function setCreatetime($ctime);
    public function getCreatetime(); 

    public function setComment($cmt);
    public function getComment();
}

Class Home_BlinkingMapper{
	public function save(Home_Blinking $blinking);
	public function find($id);
	public function findAll();
}
